package com.briup.jz.service;

import java.util.List;
import com.briup.jz.bean.BaseUser;
import com.briup.jz.bean.extend.BaseUserExtend;
import com.briup.jz.utils.CustomerException;

public interface IBaseUserService {
	void saveOrUpdate(BaseUser baseUser) throws CustomerException;
	
	List<BaseUser> query(String username);
	
	void deleteById(long id) throws CustomerException;
	
	void addUserWithRoleId(BaseUserExtend baseUserExtend);
	
	void updateUserfaceByUserId(long id,String userface);

	List<BaseUserExtend> pagequery(Long page,Long pageSize,String username,Long roleId,String status);
	
	List<BaseUserExtend> selectRoleByUserId(long id);
}
